package com.shop.shoppingmall.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * (ShInorder)实体类
 *
 * @author makejava
 * @since 2021-02-18 16:33:35
 */
@Data
public class ShInorder implements Serializable {
    private static final long serialVersionUID = -15130909680712354L;
    /**
     * 主键
     */
    private String id;
    /**
     * 订单编号
     */
    private String orderNumber;
    /**
     * 用户id
     */
    private String userId;
    /**
     * 商品id
     */
    private String inproductId;
    /**
     * 地址id
     */
    private String addId;
    /**
     * 订单金额
     */
    private BigDecimal orderPrice;
    /**
     * 数量
     */
    private Integer productNum;
    /**
     * 订单状态
     */
    private String orderStatus;
    /**
     * 快递单号
     */
    private String courierNum;
    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date creatTime;

    /**
     * 收货人（名称） wu
     */
    private String consignee;
    /**
     * 手机号（名称） wu
     */
    private String phone;
    /**
     * 商品id（名称） wu
     */
    private String productName;
    /**
     * 地址id（名称） wu
     */
    private String detailAddress;
    /**
     * 规格（名称） wu
     */
    private String attribute;

    /**
     * 价格 wu
     */
    private BigDecimal price;

    /**
     * 图片（名称） wu
     */
    private String picture;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getOrderNumber() {
        return orderNumber;
    }

    public void setOrderNumber(String orderNumber) {
        this.orderNumber = orderNumber;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getInproductId() {
        return inproductId;
    }

    public void setInproductId(String inproductId) {
        this.inproductId = inproductId;
    }

    public String getAddId() {
        return addId;
    }

    public void setAddId(String addId) {
        this.addId = addId;
    }


    public Integer getProductNum() {
        return productNum;
    }

    public void setProductNum(Integer productNum) {
        this.productNum = productNum;
    }

    public String getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(String orderStatus) {
        this.orderStatus = orderStatus;
    }

    public String getCourierNum() {
        return courierNum;
    }

    public void setCourierNum(String courierNum) {
        this.courierNum = courierNum;
    }

    public Date getCreatTime() {
        return creatTime;
    }

    public void setCreatTime(Date creatTime) {
        this.creatTime = creatTime;
    }

    public String getConsignee() {
        return consignee;
    }

    public void setConsignee(String consignee) {
        this.consignee = consignee;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getDetailAddress() {
        return detailAddress;
    }

    public void setDetailAddress(String detailAddress) {
        this.detailAddress = detailAddress;
    }

    public BigDecimal getOrderPrice() {
        return orderPrice;
    }

    public void setOrderPrice(BigDecimal orderPrice) {
        this.orderPrice = orderPrice;
    }

    public String getAttribute() {
        return attribute;
    }

    public void setAttribute(String attribute) {
        this.attribute = attribute;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public String getPicture() {
        return picture;
    }

    public void setPicture(String picture) {
        this.picture = picture;
    }
}
